package org.jackysoft.entity;




import org.jackysoft.bean.define.EntitySchemas;
import org.jackysoft.entity.base.AbstractEntity;

import com.google.gson.annotations.Expose;



public class HtmlFormElement extends AbstractEntity implements
		Comparable<HtmlFormElement> {
	/**
	 * 
	 */
	private static final long serialVersionUID = 738554612606249797L;

	private long refid;
	
	private String refname;
	
	@Expose
	protected String name;

	@Expose
	protected String value;

	@Expose
	protected String enabled;

	@Expose
	protected String disabled;

	@Expose
	protected String title;

	@Expose
	protected String checked;

	@Override
	public int compareTo(HtmlFormElement o) {
		if (this.name == null)
			return -1;
		return this.name.compareToIgnoreCase(o.name);
	}

	public String getChecked() {
		return checked;
	}

	public String getDisabled() {
		return disabled;
	}

	public String getEnabled() {
		return enabled;
	}

	public String getName() {
		return name;
	}

	public String getTitle() {
		return title;
	}

	public String getValue() {
		return value;
	}

	public void setChecked(String checked) {
		this.checked = checked;
	}

	public void setDisabled(String disabled) {
		this.disabled = disabled;
	}

	public void setEnabled(String enabled) {
		this.enabled = enabled;
	}

	public void setName(String name) {
		this.name = name;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public void setValue(String value) {
		this.value = value;
	}

	public long getRefid() {
		return refid;
	}

	public void setRefid(long refid) {
		this.refid = refid;
	}

	public String getRefname() {
		return refname;
	}

	public void setRefname(String refname) {
		this.refname = refname;
	}

}
